<template>
  <div class="oneView">
    11
    <child1 :propA="111" @addToCount="addToCountFun"/>
  </div>
</template>
<script lang="ts">
import { Vue, Options } from 'vue-property-decorator'
import child1 from '@/views/oneViewChild/child1.vue'

@Options({
  name: 'OneView',
  components: { child1 }
})

export default class OneView extends Vue {
  addToCountFun (n:number):void{
    console.log(n)
  }
}
</script>

<style scoped lang='scss'>
.oneView {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  background-color: white;
  border-radius: 4px;
  padding: 5px;
}
</style>
